<?php

class Core_View_Helper_Number extends Zend_View_Helper_Abstract
{
	public function number($number, $label)
    {
		$this->_translator = Zend_Registry::get('Zend_Translate');
		
		$format = "%s %s";
		if(intval($number) >=2)
		{
			$label .= 'S';
		}
		return sprintf($format, $number, $this->_translator->translate(strtoupper($label)));
	}
}
